﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - My ASP.NET Application</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")

</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                @Html.ActionLink("Importadora E.T.S SRL.", "Index", "Home", null, new { @class = "navbar-brand" })
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Socio <b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>@Html.ActionLink("Registrar Socio", "Create", "Socio")</li>
                            <li>@Html.ActionLink("Buscar Socio", "Index", "Socio")</li>
                            
                        </ul>
                    </li>
                    @*<li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Cliente <b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>@Html.ActionLink("Registrar Cliente", "Create", "Cliente")</li>
                            <li>@Html.ActionLink("Buscar Clientes", "Index", "Cliente")</li>
                        </ul>
                    </li>*@
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Ingreso de Producto <b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>@Html.ActionLink("Registrar Ingreso de Producto", "Create", "IngresoDeProducto")</li>
                            <li>@Html.ActionLink("Buscar Ingreso de Producto", "Index", "IngresoDeProducto")</li>
                        </ul>
                    </li>

                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Producto <b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>@Html.ActionLink("Registrar Nuevo Producto", "Create", "Producto")</li>
                            @*<li>@Html.ActionLink("Ver Stock de Productos", "Stock", "Producto")</li>*@
                            <li>@Html.ActionLink("Buscar Producto", "Index", "Producto")</li>
                        </ul>
                    </li>

                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Salidas<b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>@Html.ActionLink("Solicitud de pedidos", "Create", "Pedido")</li>
                            <li>@Html.ActionLink("Buscar pedidos", "Index", "Pedido")</li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Reporte <b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>@Html.ActionLink("Reporte de Pedidos", "Reporte", "Pedido")</li>
                            <li>@Html.ActionLink("Reporte Importaciones", "Index", "Home")</li>
                            <li>@Html.ActionLink("Reporte General", "Index", "Home")</li>
                            <li>@Html.ActionLink("Reporte por Socio", "Index", "Home")</li>
                        </ul>
                    </li>
                </ul>
                @Html.Partial("_LoginPartial")
            </div>
        </div>
    </div>
    <div class="container body-content">
        @if (TempData["Correcto"] != null) { 
            <div class="alert alert-success alert-dismissable">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <h4>@TempData["Correcto"]</h4>
            </div>
        }
        @if(TempData["Error"]!=null)
        { 
            <div class="alert alert-danger alert-dismissable">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <h4>@TempData["Error"]</h4>
            </div>
        }
        @if (TempData["Informacion"] != null)
        {
            <div class="alert alert-warning alert-dismissable">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <h4>@TempData["Informacion"]</h4>
            </div>
        }
        
        @RenderBody()
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year - Importadora E.T.S S.R.L</p>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jquery-ui")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
